package com.ruoyi.system.api.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 单位对象 units
 * 
 * @author ruoyi
 * @date 2025-09-17
 */
public class Units extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 单位id */
    private String unitId;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String unitName;

    /** 法定代表人 */
    @Excel(name = "法定代表人")
    private String legalRepresentative;

    /** 组织机构代码 */
    @Excel(name = "组织机构代码")
    private String organizationCode;

    /** 社会信用代码 */
    @Excel(name = "社会信用代码")
    private String socialCreditCode;

    /** 行政规划 */
    @Excel(name = "行政规划")
    private String administrativeArea;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String postCode;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String unitPhonenumber;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contact;

    /** 用户邮箱 */
    @Excel(name = "用户邮箱")
    private String email;

    /** 传真 */
    @Excel(name = "传真")
    private String fax;

    /** 网站 */
    @Excel(name = "网站")
    private String website;

    /** 联系地址 */
    @Excel(name = "联系地址")
    private String unitAddress;

    /** 留痕状态 */
    private String isTrace;

    /** 所在单位性质 */
    private String unitNature;

    /**  */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String exampleOne;

    /** $column.columnComment */
    private String exampleTwo;

    /** $column.columnComment */
    private String exampleThree;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setContact(String contact)
    {
        this.contact = contact;
    }

    public String getContact()
    {
        return contact;
    }

    public void setUnitId(String unitId) 
    {
        this.unitId = unitId;
    }

    public String getUnitId() 
    {
        return unitId;
    }

    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }

    public void setLegalRepresentative(String legalRepresentative) 
    {
        this.legalRepresentative = legalRepresentative;
    }

    public String getLegalRepresentative() 
    {
        return legalRepresentative;
    }

    public void setOrganizationCode(String organizationCode) 
    {
        this.organizationCode = organizationCode;
    }

    public String getOrganizationCode() 
    {
        return organizationCode;
    }

    public void setSocialCreditCode(String socialCreditCode) 
    {
        this.socialCreditCode = socialCreditCode;
    }

    public String getSocialCreditCode() 
    {
        return socialCreditCode;
    }

    public void setAdministrativeArea(String administrativeArea) 
    {
        this.administrativeArea = administrativeArea;
    }

    public String getAdministrativeArea() 
    {
        return administrativeArea;
    }

    public void setPostCode(String postCode)
    {
        this.postCode = postCode;
    }

    public String getPostCode() 
    {
        return postCode;
    }

    public void setPhonenumber(String unitPhonenumber)
    {
        this.unitPhonenumber = unitPhonenumber;
    }

    public String getPhonenumber() 
    {
        return unitPhonenumber;
    }

    public void setUnitNature(String unitNature)
    {
        this.unitNature = unitNature;
    }

    public String getUnitNature()
    {
        return unitNature;
    }

    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }

    public void setFax(String fax)
    {
        this.fax = fax;
    }

    public String getFax() 
    {
        return fax;
    }

    public void setWebsite(String website) 
    {
        this.website = website;
    }

    public String getWebsite() 
    {
        return website;
    }

    public void setUnitAddress(String unitAddress)
    {
        this.unitAddress = unitAddress;
    }

    public String getUnitAddress()
    {
        return unitAddress;
    }

    public void setIsTrace(String isTrace)
    {
        this.isTrace = isTrace;
    }

    public String getIsTrace() 
    {
        return isTrace;
    }

    public void setExampleOne(String exampleOne) 
    {
        this.exampleOne = exampleOne;
    }

    public String getExampleOne() 
    {
        return exampleOne;
    }

    public void setExampleTwo(String exampleTwo) 
    {
        this.exampleTwo = exampleTwo;
    }

    public String getExampleTwo() 
    {
        return exampleTwo;
    }

    public void setExampleThree(String exampleThree) 
    {
        this.exampleThree = exampleThree;
    }

    public String getExampleThree() 
    {
        return exampleThree;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("unitId", getUnitId())
            .append("unitName", getUnitName())
            .append("legalRepresentative", getLegalRepresentative())
            .append("organizationCode", getOrganizationCode())
            .append("socialCreditCode", getSocialCreditCode())
            .append("administrativeArea", getAdministrativeArea())
            .append("postCode", getPostCode())
            .append("unitPhonenumber", getPhonenumber())
            .append("contact", getContact())
            .append("email", getEmail())
            .append("fax", getFax())
            .append("website", getWebsite())
            .append("unitAddress", getUnitAddress())
            .append("unitNature",getUnitNature())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isTrace", getIsTrace())
            .append("exampleOne", getExampleOne())
            .append("exampleTwo", getExampleTwo())
            .append("exampleThree", getExampleThree())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .toString();
    }
}
